Optimal. Leaf size=48 \[ \frac{\left (a+b x^2\right )^3 (A b-4 a B)}{24 a^2 x^6}-\frac{A \left (a+b x^2\right )^3}{8 a x^8} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0311508, antiderivative size = 48, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.15, Rules used = {446, 78, 37} \[ \frac{\left (a+b x^2\right )^3 (A b-4 a B)}{24 a^2 x^6}-\frac{A \left (a+b x^2\right )^3}{8 a x^8} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 446
Rule 78
Rule 37
Rubi steps
\begin{align*} \int \frac{\left (a+b x^2\right )^2 \left (A+B x^2\right )}{x^9} \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int \frac{(a+b x)^2 (A+B x)}{x^5} \, dx,x,x^2\right )\\ &=-\frac{A \left (a+b x^2\right )^3}{8 a x^8}+\frac{(-A b+4 a B) \operatorname{Subst}\left (\int \frac{(a+b x)^2}{x^4} \, dx,x,x^2\right )}{8 a}\\ &=-\frac{A \left (a+b x^2\right )^3}{8 a x^8}+\frac{(A b-4 a B) \left (a+b x^2\right )^3}{24 a^2 x^6}\\ \end{align*}
Mathematica [A] time = 0.0161696, size = 55, normalized size = 1.15 \[ -\frac{a^2 \left (3 A+4 B x^2\right )+4 a b x^2 \left (2 A+3 B x^2\right )+6 b^2 x^4 \left (A+2 B x^2\right )}{24 x^8} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.005, size = 48, normalized size = 1. \begin{align*} -{\frac{b \left ( Ab+2\,Ba \right ) }{4\,{x}^{4}}}-{\frac{A{a}^{2}}{8\,{x}^{8}}}-{\frac{B{b}^{2}}{2\,{x}^{2}}}-{\frac{a \left ( 2\,Ab+Ba \right ) }{6\,{x}^{6}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.99105, size = 72, normalized size = 1.5 \begin{align*} -\frac{12 \, B b^{2} x^{6} + 6 \,{\left (2 \, B a b + A b^{2}\right )} x^{4} + 3 \, A a^{2} + 4 \,{\left (B a^{2} + 2 \, A a b\right )} x^{2}}{24 \, x^{8}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.40432, size = 119, normalized size = 2.48 \begin{align*} -\frac{12 \, B b^{2} x^{6} + 6 \,{\left (2 \, B a b + A b^{2}\right )} x^{4} + 3 \, A a^{2} + 4 \,{\left (B a^{2} + 2 \, A a b\right )} x^{2}}{24 \, x^{8}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.67552, size = 56, normalized size = 1.17 \begin{align*} - \frac{3 A a^{2} + 12 B b^{2} x^{6} + x^{4} \left (6 A b^{2} + 12 B a b\right ) + x^{2} \left (8 A a b + 4 B a^{2}\right )}{24 x^{8}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.26124, size = 74, normalized size = 1.54 \begin{align*} -\frac{12 \, B b^{2} x^{6} + 12 \, B a b x^{4} + 6 \, A b^{2} x^{4} + 4 \, B a^{2} x^{2} + 8 \, A a b x^{2} + 3 \, A a^{2}}{24 \, x^{8}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]